using System;
using System.Web.Mvc;
using SapaFinance.Services;


namespace SapaFinance.UI.Controllers
{
    public class PaymentTypeController : Controller
    {
        private readonly IPaymentTypeService _currencyService;

        public PaymentTypeController(IPaymentTypeService currencyService)
        {
            _currencyService = currencyService;
        }

        public virtual ActionResult RenderPaymentType(Guid id)
        {
            return View("EditorTemplates/PaymentTypeList", _currencyService.GetSelectedListById(id));

        }

    }
}